package com.example.iocanddi.Service;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Bean
    public void sayHi(){
        System.out.println("hi userService");
    }

    @Bean
    public void sayHello(){
        System.out.println("hello");
    }
}
